<?php
/**
 * The confirm file of bug module of PMS.
 *
 * 
 * 
 * 
 * @package     bug
 * @version     $Id: resolve.html.php 1914 2011-06-24 10:11:25Z yidong@cnezsoft.com $
 * 
 */
?>
<?php
include '../../common/view/header.html.php';
include '../../common/view/autocomplete.html.php';
js::set('holders', $lang->bug->placeholder);
js::set('userList', array_keys($users));
js::set('page', 'confirmbug');
?>

<form method='post' target='hiddenwin'>
  <table class='table-1'>
    <caption><?php echo $bug->title;?></caption>
    <tr>
      <th class='rowhead'><?php echo $lang->bug->assignedTo;?></th>
      <td><?php echo html::select('assignedTo', $users, '', "class='text-3'");?></td>
    </tr>  
    <tr>
      <td class='rowhead'><?php echo $lang->bug->mailto;?></td>
      <td><?php echo html::input('mailto', $bug->mailto, 'class="text-1"');?></td>
    </tr>
    <tr>
      <td class='rowhead'><?php echo $lang->comment;?></td>
      <td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
    </tr>
    <tr>
      <td colspan='2' class='a-center'>
        <?php echo html::submitButton($lang->bug->buttonConfirm);?>
        <input type='button' value='<?php echo $lang->bug->buttonToList;?>' class='button-s' 
         onclick='location.href="<?php echo $this->server->http_referer;?>"' />
      </td>
    </tr>
  </table>
  <?php include '../../common/view/action.html.php';?>
</form>
<?php include '../../common/view/footer.html.php';?>
